package com.supermarket.manage.common.constant;

/**
 * @author Faxon
 * @version 1.0
 * @date 2020-03-09 19:00
 **/
public class RedisKeyConstant {

    /**
     * 商品分类存储前缀
     */
    public static final String CATEGORY_PREFIX = "CATEGORY:";

    /**
     * 商品一级分类key
     */
    public static final String FIRST_CAT = "FIRST_CAT";

    /**
     * 商品二级分类key
     */
    public static final String SECOND_CAT = "SECOND_CAT";

    /**
     * 商品三级分类key
     */
    public static final String THIRD_CAT = "THIRD_CAT";

    /**
     * 会员折扣key
     */
    public static final String DISCOUNT_CAT = "DISCOUNT:";

    /**
     * 用户信息key
     */
    public static final String USER = "USER";

    /**
     * 采购入库id自增长 key
     */
    public static final String PURCHASE_IN = "PURCHASE_IN";

    /**
     * 销售退货入库id自增长 key
     */
    public static final String RETURN_IN = "RETURN_IN";

    /**
     * 销售出库id自增长 key
     */
    public static final String SALE_OUT = "SALE_OUT";

    /**
     * 采购退货出库id自增长 key
     */
    public static final String BACK_OUT = "BACK_OUT";

    /**
     * 盘点id自增长 key
     */
    public static final String STOCKING = "STOCKING";
}
